package com.wskeee.ec.components
{
	import com.wskeee.ec.components.skin.CheckBoxSkin;

	public class CheckBox extends Button
	{
		public function CheckBox()
		{
			super();
		}
		//========================= get & set ===================
		private var _value:Object;
		public function get value():Object
		{
			return _value ? _value : label;
		}
		
		public function set value(value:Object):void
		{
			_value = value;
		}
		
		override public function get toggle():Boolean
		{
			return true;
		}
		
		//---------------------
		//skin
		//---------------------
		override public function get DefaultSkinDrawer():Class
		{
			return CheckBoxSkin;
		}
		//========================= end =========================
	}
}